<?php
    ini_set('display_errors', 1);

    $www_root = 'http://courses.washington.edu/ehealth2/spring_iteration/';
    $dir_root = '/nfs/aesop01/hw12/d08/ehealth2/spring_iteration/';

    define('DIR_ROOT', $dir_root);
    define('WWW_ROOT', $www_root);

    define('APP_PATH', DIR_ROOT . 'app/');
    define('DAO_PATH', DIR_ROOT . 'app/dao/');
    define('CLASS_PATH', DIR_ROOT . 'app/class/');
    define('HELPER_PATH', DIR_ROOT . 'app/helper/');

    define('VIEW_PATH', DIR_ROOT . 'app/view/');
    define('PUBLIC_LAYOUT', DIR_ROOT . 'app/view/layout/public/');

    define('CSS_HREF', WWW_ROOT . 'assets/css/');
    define('IMG_HREF', WWW_ROOT . 'assets/img/');
    
    //setup database connection
    class DBCONFIG {
    var $user  = 'ehealth';
    var $host  = 'vergil.u.washington.edu';
    var $pass  = '3R57JRDdJ6D8y74e';
    var $port  = '4585';
    var $db    = 'ehealth2_spring';
    }
?>